import request from "@/utils/request-inspection";

// ---------------------------------------------------管点-------------------------------------------------
class TaskAPI {
  // 查询
  static api_query(data: any) {
    return request({
      url: "/api/insp-task/page",
      method: "get",
      params: data,
    });
  }

  // 详情
  static api_detail(id: number) {
    return request({
      url: "/api/insp-task/detail/" + id,
      method: "get",
    });
  }
}
export default TaskAPI;
